package org.example.com.model;

import java.lang.reflect.Method;
import java.util.Map;

/**
 * @author cc
 * @date 2021/8/3 11:06
 * @Description
 */

public class URLMapping {
    private Object obj;//获取类的类型
    private Method method;//获取类的方法
    private Map<String,Class<?>> parameter; //类方法上括号里方法的类型和名字 key参数名称 value参数的数据类型

    public URLMapping(Object obj, Method method, Map<String, Class<?>> parameter) {
        this.obj = obj;
        this.method = method;
        this.parameter = parameter;
    }

    public Object getObj() {
        return obj;
    }

    public void setObj(Object obj) {
        this.obj = obj;
    }

    public Method getMethod() {
        return method;
    }

    public void setMethod(Method method) {
        this.method = method;
    }

    public Map<String, Class<?>> getParameter() {
        return parameter;
    }

    public void setParameter(Map<String, Class<?>> parameter) {
        this.parameter = parameter;
    }
}
